export const filterArray = [
    {
        label: "线号",
        dataField: "lineNo",
        dataType: "number",
        allowRowGroup: true,
        allowPivot: true,
        rowGroup: true
    },
    {
        label: "颜色",
        dataField: "color",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true
    },
    {
        label: "款号",
        dataField: "styleNo",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true,
        rowGroup: true
    },
    {
        label: "床号",
        dataField: "lot",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true
    },
    {
        label: "尺码",
        dataField: "size",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true
    },
    {
        label: "工序序号",
        dataField: "processNo",
        dataType: "number",
        allowRowGroup: true,
        allowPivot: true
    },
    {
        label: "工序名称",
        dataField: "processName",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true
        // pivot: true
    },
    {
        label: "生产日期",
        dataField: "processDate",
        dataType: "string",
        allowRowGroup: true,
        allowPivot: true,
        pivot: true
    },

        {
            label: "数量",
            dataField: "quantity",
            dataType: "number",
            summary: "sum",
            summarySettings: {
                // prefix: "$",
                // decimalPlaces: 2
            }
        }
    ]

export const dateOptions = [
        {
            value: "1",
            label: "查近一周"
        },
        {
            value: "2",
            label: "查近一个月"
        },
        {
            value: "3",
            label: "查近三个月"
        },
        {
            value: "4",
            label: "查近六个月"
        },
        {
            value: "5",
            label: "今年"
        },
        {
            value: "6",
            label: "不限时间"
        }
    ]

export const selectForm = {
    lineNo: "", //线号 -1
    color: "", //颜色名
    styleNo: "", //款式
    lot: "", //床次
    size: "", //尺码名称
    processNo: "",
    processName: "",
    processDate: "", //开始时间

    // end: "", //结束时间
    // page: 1, //当前页码，从1开始,示例值(1)
    // limit: 1, //每页显示记录数,示例值(20)
    // check: 0 //是否验厂模式,示例值(0)
}

export const selectForm1 = {
    lineNo: [], //线号 -1
    color: [], //颜色名
    styleNo: [], //款式
    lot: [], //床次
    size: [], //尺码名称
    processNo: [],
    processName: [],
    processDate: []

    }